﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AQK_DLKH_KS.aspx.cs" Inherits="TONLI.TJOA.Anquan.AQK_DLKH_KS" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.3.Export, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView.Export" TagPrefix="dxwgv" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
<table width="600px"><tr><td style="width: 110px; height: 21px">
                    <dxe:ASPxDateEdit ID="ASPxDateEdit1" runat="server"  Width="120px">
                    </dxe:ASPxDateEdit></td>
                <td style="width: 110px; height: 21px">
                    <dxe:ASPxDateEdit ID="ASPxDateEdit2" runat="server" Width="120px">
                    </dxe:ASPxDateEdit>
                </td>
                <td style="width: 80px">
    <dxe:ASPxButton ID="ASPxButton1" runat="server" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css"
        CssPostfix="Office2003_Blue" Text="查询" OnClick="ASPxButton1_Click"  Width="60px">
    </dxe:ASPxButton>
</td><td class="STYLE1" style="width: 46px; height: 14px">
            <dxe:ASPxButton ID="ASPxButton2" runat="server" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css"
        CssPostfix="Office2003_Blue" Text="导出" OnClick="ASPxButton2_Click" Width="64px">
    </dxe:ASPxButton></td></tr></table>
    <dxwgv:ASPxGridView ID="ASPxGridView1" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css" CssPostfix="Office2003_Blue" runat="server" DataSourceID="ObjectDataSource1" AutoGenerateColumns="False"  Width="655px" KeyFieldName="SUID" ClientInstanceName="grid" EnableTheming="False">
            <SettingsText Title="二次分配" />
            <Settings ShowTitlePanel="True" ShowFilterRow="True" ShowFooter="True"   />            
            <Columns>
            <dxwgv:GridViewDataTextColumn Caption="顺号" FieldName="SORT" VisibleIndex="0" Width="60px">
                </dxwgv:GridViewDataTextColumn>
                            
                <dxwgv:GridViewDataTextColumn   Caption="姓名" FieldName="USERNAME" VisibleIndex="1"
                    Width="60px">
                </dxwgv:GridViewDataTextColumn>
                 <dxwgv:GridViewDataTextColumn   Caption="单位职务" FieldName="TYPE" VisibleIndex="2"
                    Width="60px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="定量" FieldName="ACDLSUM" VisibleIndex="2" Width="60px">
                </dxwgv:GridViewDataTextColumn>
                 <dxwgv:GridViewDataTextColumn Caption="两违A" FieldName="LW1" VisibleIndex="3"
                    Width="60px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="两违B" FieldName="LW2" VisibleIndex="4"
                    Width="60px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="两违C" FieldName="LW3" VisibleIndex="5"
                    Width="60px">
                </dxwgv:GridViewDataTextColumn>                               
                <dxwgv:GridViewDataTextColumn Caption="管理A" FieldName="GL1" VisibleIndex="6"
                    Width="60px">            
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="管理B" FieldName="GL2" VisibleIndex="7"
                    Width="60px">
                </dxwgv:GridViewDataTextColumn>
                 <dxwgv:GridViewDataTextColumn Caption="管理C" FieldName="GL3" VisibleIndex="8"
                    Width="60px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="设备A" FieldName="SB1" VisibleIndex="9" 
                Width="60px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="设备B" FieldName="SB2" VisibleIndex="10"
                    Width="60px">
                </dxwgv:GridViewDataTextColumn>
                 <dxwgv:GridViewDataTextColumn Caption="设备C" FieldName="SB3" VisibleIndex="15"
                    Width="60px">
                </dxwgv:GridViewDataTextColumn>
                 <dxwgv:GridViewDataTextColumn Caption="完成" FieldName="ACSUM" VisibleIndex="19" Width="60px">
                </dxwgv:GridViewDataTextColumn>

                 <dxwgv:GridViewDataTextColumn Caption="未完成" FieldName="WWCSM" VisibleIndex="19" Width="60px">
                </dxwgv:GridViewDataTextColumn>
                 <dxwgv:GridViewDataTextColumn Caption="扣款" FieldName="FK" VisibleIndex="20" Visible="false" Width="60px">
                </dxwgv:GridViewDataTextColumn>
                
            </Columns>
            <TotalSummary>
        <dxwgv:ASPxSummaryItem DisplayFormat="总计 " ShowInColumn="单位职务" SummaryType="Sum"
                                FieldName="TYPE" />
        <dxwgv:ASPxSummaryItem FieldName="FK" DisplayFormat="##0" ShowInColumn="扣款" SummaryType="Sum"/>
        </TotalSummary>
            </dxwgv:ASPxGridView>
    
        
        
        
    <input id="Text1" type="hidden"  runat=server style="width: 15px"/>
    </div><asp:ObjectDataSource ID="ObjectDataSource1" runat="server"  SelectMethod="getDLData" TypeName="TONLI.TJOA.Anquan.AQK_LJ_Manage">
                       
         <SelectParameters>
                <asp:SessionParameter Name="type" SessionField="ks_type" />
                <asp:SessionParameter Name="s1" SessionField="ks_s1" />
                <asp:SessionParameter Name="s2" SessionField="ks_s2" />
            </SelectParameters>   
        </asp:ObjectDataSource>
        <dxwgv:ASPxGridViewExporter id="ASPxGridViewExporter1" runat="server" FileName=""
            GridViewID="ASPxGridView1">
        </dxwgv:ASPxGridViewExporter>
    </form>
    
</body>
</html>
